package com.jijuxie.house.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jijuxie.common.core.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.time.LocalDateTime;

@Data
@TableName("house_collection")
@EqualsAndHashCode(callSuper = true)
public class HouseCollection extends BaseEntity {

    @TableId(type = IdType.AUTO)
    private Long collectionId;

    /**
     * 房源ID
     */
    private Long houseId;

    /**
     * 用户ID
     */
    private Long userId;

    private LocalDateTime createTime;
}
